package cn.xinfei.xdecision.common.model.component.guiderule.vo;

import cn.xinfei.xdecision.common.utils.enums.enginex.ComponentTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * Created by maying on 2023/03/25.
 **/
@Data
public class RuleListReqVo {

    @ApiModelProperty(value = "页码，默认1", example = "1")
    private Integer pageNum = 1;

    @ApiModelProperty(value = "分页大小，默认10", example = "10")
    private Integer pageSize = 10;

    @ApiModelProperty(value = "规则类型. 1:简单规则;2:复杂规则;3:脚本规则", example = "1")
    private Integer difficulty;

    @ApiModelProperty(value = "文件夹id", example = "1")
    private Integer folderId;

    @ApiModelProperty(value = "搜索内容", example = "rule")
    private String searchString;

    @ApiModelProperty(value = "查询状态，多个状态逗号分割. 0:新建;1:启用;2:停用", example = "0")
    private Integer status;

    @ApiModelProperty(value = "查询多个状态，多个状态逗号分割. ", example = "0,1")
    private List<Integer> statusList;

    /**
     * @see ComponentTypeEnum
     */
    @ApiModelProperty(value = "组件类型")
    private String componentType;

    private List<Long> orgIdList;
}
